VDSetBrightness
TheVDSetBrightness
function sets the current brightness value, which controls the overall brightness of the digitized video image. Brightness values range from 0 to 65,535, where 0 is the darkest possible setting and 65,535 is the lightest possible setting.
pascal VideoDigitizerError VDSetBrightness (VideoDigitizerComponent ci, unsigned short *brightness);
ci
- Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's
OpenComponent
function.brightness
- Contains a pointer to an integer that contains the new brightness value. The video digitizer component attempts to set the brightness value to the value specified by this parameter. The digitizer component returns the new value, so that the application can avoid using unsupported values in future requests.
RESULT CODES
noErr 0 No error digiUnimpErr -2201 Function not supported SEE ALSO
Your application can get the current brightness value by calling theVDGetBrightness
function (described in the next section). To obtain the recommended brightness value, your application can call theVDGetVideoDefaults
function (described on page 8-66).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help